package day213;

public class VarDemo {
    public static void main(String[] args) {
        /*
        int a;
        int b, c, d;
        int e = 250;
        int h = 1, i = 2, j = 3, k = 4;

        int l = 5;
        int m = l+10;
        System.out.println(m);
        System.out.println("m");

        int balance = 5000;
        balance = balance+1000;
        System.out.println(balance);
        balance = balance-2000;
        System.out.println(balance);
        int balance = 5000;
        balance = balance+1000;
        System.out.println(balance);
        balance = balance-2000;
        System.out.println(balance);
        int balance = 5000;
        balance = balance+1000;
        System.out.println(balance);
        balance = balance-2000;
        System.out.println(balance);

        long a = 1000000000*3*10l;
        long b = 1000000000L*2*10;
        System.out.println(a);
        System.out.println(b);


        double a=25.678;
        float b=25.778f;
        double c=6.0,d=3.9;
        System.out.println(c-d);
        char g ='中';
         String abc = "中国";
         Integer max=Integer.MAX_VALUE;
        System.out.println(max);
        Boolean z=true;
        Boolean y=false;

        char c1 = 65;
        System.out.println(c1);
        char c2='\'';
        System.out.println(c2);
        char c3 = 12345;
        System.out.println(c3);


        int age = 18;
        boolean b = age<19;
        System.out.println(b);

        int a = 5;
        long b = a;
        System.out.println(b);
        long c = 5;
        int d = (int) c;
        System.out.println(d);
        double e = 22.11;
        int f = (int) e;
        System.out.println(f);
        int num = 6;
        num++;
        System.out.println(num);
        */
        byte a = 5;
        byte b = 7;
        byte c =(byte)(a+b);
        System.out.println(c);
        System.out.println('2'+'2');
        int d='我';
        System.out.println(d);
        System.out.println('2');
        int e ='2';
        char f = 66;
        System.out.println(e);
        System.out.println(f);





    }
}
